NAVNavbar
Logo
cURL php NodeJS Python cSharp

Domain Metrics By Categories


This endpoint will provide you with dynamics of change in metrics of domains relevant to the specified product and service categories. You will receive historical ranking data from Google SERPs, along with valuable current and historical domain metrics, such as ETV, impressions ETV, estimated paid traffic cost, the total count of SERPs that contain domains, and more.

Learn more about the endpoint in this help center article.

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard

<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
$client = new RestClient($api_url, null, 'login', 'password');

$post_array = array();
// simple way to set a task
$post_array[] = array(
   "category_codes" => [
      13418,
      11494
   ],
   "language_name" => "English",
   "location_code" => 2840,
   "first_date" => "2021-06-01",
   "second_date" => "2021-10-01"
);
try {
   // POST /v3/dataforseo_labs/domain_metrics_by_categories/live
   $result = $client->post('/v3/dataforseo_labs/domain_metrics_by_categories/live', $post_array);
   print_r($result);
   // do something with post result
} catch (RestClientException $e) {
   echo "\n";
   print "HTTP code: {$e->getHttpCode()}\n";
   print "Error code: {$e->getCode()}\n";
   print "Message: {$e->getMessage()}\n";
   print  $e->getTraceAsString();
   echo "\n";
}
$client = null;
?>

The above command returns JSON structured like this:

{
    "version": "0.1.20210917",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "1.3303 sec.",
    "cost": 0.105,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "11241226-2806-0362-0000-57e222701c5f",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "1.2628 sec.",
            "cost": 0.105,
            "result_count": 1,
            "path": [
                "v3",
                "dataforseo_labs",
                "domain_metrics_by_categories",
                "live"
            ],
            "data": {
                "api": "dataforseo_labs",
                "function": "domain_metrics_by_categories",
                "location_code": 2840,
                "language_code": "en",
                "category_codes": [
                    13418,
                    11494
                ],
                "first_date": "2021-06-01",
                "second_date": "2021-10-01",
                "limit": 5
            },
            "result": [
                {
                    "categories": [
                        11494,
                        13418
                    ],
                    "location_code": 2840,
                    "language_code": "en",
                    "total_count": 1378,
                    "items_count": 5,
                    "items": [
                        {
                            "top_categories": [
                                11494,
                                13418
                            ],
                            "organic_etv": 106.0256969127804,
                            "organic_count": 31,
                            "organic_is_lost": 29,
                            "organic_is_new": 17,
                            "domain": "www.5mstore.com.br",
                            "main_domain": "5mstore.com.br",
                            "metrics_history": {
                                "202110": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 1,
                                        "pos_21_30": 2,
                                        "pos_31_40": 3,
                                        "pos_41_50": 9,
                                        "pos_51_60": 8,
                                        "pos_61_70": 9,
                                        "pos_71_80": 6,
                                        "pos_81_90": 14,
                                        "pos_91_100": 5,
                                        "etv": 15815.38347693719,
                                        "impressions_etv": 0.010710000060498714,
                                        "count": 56,
                                        "estimated_paid_traffic_cost": 16609.743743775063,
                                        "is_new": 45,
                                        "is_up": 7,
                                        "is_down": 0,
                                        "is_lost": 28
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                },
                                "202106": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 1,
                                        "pos_21_30": 3,
                                        "pos_31_40": 5,
                                        "pos_41_50": 12,
                                        "pos_51_60": 19,
                                        "pos_61_70": 22,
                                        "pos_71_80": 22,
                                        "pos_81_90": 25,
                                        "pos_91_100": 16,
                                        "etv": 7076.367219526859,
                                        "impressions_etv": 0.06622633553552629,
                                        "count": 125,
                                        "estimated_paid_traffic_cost": 7556.070480937276,
                                        "is_new": 17,
                                        "is_up": 11,
                                        "is_down": 1,
                                        "is_lost": 91
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                }
                            },
                            "metrics_difference": {
                                "organic": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": -1,
                                    "pos_31_40": -2,
                                    "pos_41_50": -3,
                                    "pos_51_60": -11,
                                    "pos_61_70": -13,
                                    "pos_71_80": -16,
                                    "pos_81_90": -11,
                                    "pos_91_100": -10,
                                    "etv": 8739.01625741033,
                                    "impressions_etv": -0.05551633547502757,
                                    "count": -68,
                                    "estimated_paid_traffic_cost": 9053.673262837787,
                                    "is_new": 28,
                                    "is_up": -4,
                                    "is_down": -1,
                                    "is_lost": -63
                                },
                                "paid": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 0,
                                    "impressions_etv": 0,
                                    "count": 0,
                                    "estimated_paid_traffic_cost": 0,
                                    "is_new": 0,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "featured_snippet": null,
                                "local_pack": null
                            }
                        },
                        {
                            "top_categories": [
                                11494,
                                13418
                            ],
                            "organic_etv": 6748.841804686934,
                            "organic_count": 2,
                            "organic_is_lost": null,
                            "organic_is_new": 1,
                            "domain": "isblog.net",
                            "main_domain": "isblog.net",
                            "metrics_history": {
                                "202110": {
                                    "organic": {
                                        "pos_1": 1,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 6748.7998046875,
                                        "impressions_etv": 0,
                                        "count": 1,
                                        "estimated_paid_traffic_cost": 12139.4306640625,
                                        "is_new": 1,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                },
                                "202106": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                }
                            },
                            "metrics_difference": {
                                "organic": {
                                    "pos_1": 1,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 6748.7998046875,
                                    "impressions_etv": 0,
                                    "count": 1,
                                    "estimated_paid_traffic_cost": 12139.4306640625,
                                    "is_new": 1,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "paid": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 0,
                                    "impressions_etv": 0,
                                    "count": 0,
                                    "estimated_paid_traffic_cost": 0,
                                    "is_new": 0,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "featured_snippet": null,
                                "local_pack": null
                            }
                        },
                        {
                            "top_categories": [
                                11494,
                                13418
                            ],
                            "organic_etv": 10204.049388874322,
                            "organic_count": 6,
                            "organic_is_lost": 1,
                            "organic_is_new": 3,
                            "domain": "www.theloove.com",
                            "main_domain": "theloove.com",
                            "metrics_history": {
                                "202110": {
                                    "organic": {
                                        "pos_1": 1,
                                        "pos_2_3": 3,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 5455.980196237564,
                                        "impressions_etv": 0,
                                        "count": 5,
                                        "estimated_paid_traffic_cost": 7495.244689941406,
                                        "is_new": 2,
                                        "is_up": 1,
                                        "is_down": 0,
                                        "is_lost": 2
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                },
                                "202106": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                }
                            },
                            "metrics_difference": {
                                "organic": {
                                    "pos_1": 1,
                                    "pos_2_3": 3,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 5455.980196237564,
                                    "impressions_etv": 0,
                                    "count": 5,
                                    "estimated_paid_traffic_cost": 7495.244689941406,
                                    "is_new": 2,
                                    "is_up": 1,
                                    "is_down": 0,
                                    "is_lost": 2
                                },
                                "paid": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 0,
                                    "impressions_etv": 0,
                                    "count": 0,
                                    "estimated_paid_traffic_cost": 0,
                                    "is_new": 0,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "featured_snippet": null,
                                "local_pack": null
                            }
                        },
                        {
                            "top_categories": [
                                11494,
                                13418
                            ],
                            "organic_etv": 4704,
                            "organic_count": 1,
                            "organic_is_lost": null,
                            "organic_is_new": null,
                            "domain": "jarretelenucleaire.fr",
                            "main_domain": "jarretelenucleaire.fr",
                            "metrics_history": {
                                "202110": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 1,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 4704,
                                        "impressions_etv": 0,
                                        "count": 1,
                                        "estimated_paid_traffic_cost": 5024.28125,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 1,
                                        "is_lost": 0
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                },
                                "202106": {
                                    "organic": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 1,
                                        "pos_91_100": 1,
                                        "etv": 0.009227622538805007,
                                        "impressions_etv": 0,
                                        "count": 2,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 1,
                                        "is_down": 0,
                                        "is_lost": 1
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                }
                            },
                            "metrics_difference": {
                                "organic": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 1,
                                    "pos_71_80": 0,
                                    "pos_81_90": -1,
                                    "pos_91_100": -1,
                                    "etv": 4703.990772377461,
                                    "impressions_etv": 0,
                                    "count": -1,
                                    "estimated_paid_traffic_cost": 5024.28125,
                                    "is_new": 0,
                                    "is_up": -1,
                                    "is_down": 1,
                                    "is_lost": -1
                                },
                                "paid": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 0,
                                    "impressions_etv": 0,
                                    "count": 0,
                                    "estimated_paid_traffic_cost": 0,
                                    "is_new": 0,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "featured_snippet": null,
                                "local_pack": null
                            }
                        },
                        {
                            "top_categories": [
                                11494,
                                13418
                            ],
                            "organic_etv": 1001.1199597008526,
                            "organic_count": 30,
                            "organic_is_lost": 9,
                            "organic_is_new": 9,
                            "domain": "bergpartners.com",
                            "main_domain": "bergpartners.com",
                            "metrics_history": {
                                "202110": {
                                    "organic": {
                                        "pos_1": 2,
                                        "pos_2_3": 1,
                                        "pos_4_10": 1,
                                        "pos_11_20": 1,
                                        "pos_21_30": 1,
                                        "pos_31_40": 4,
                                        "pos_41_50": 7,
                                        "pos_51_60": 7,
                                        "pos_61_70": 3,
                                        "pos_71_80": 2,
                                        "pos_81_90": 6,
                                        "pos_91_100": 3,
                                        "etv": 966.7809997517616,
                                        "impressions_etv": 0.21689999476075172,
                                        "count": 38,
                                        "estimated_paid_traffic_cost": 2106.5259355269372,
                                        "is_new": 10,
                                        "is_up": 7,
                                        "is_down": 16,
                                        "is_lost": 17
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                },
                                "202106": {
                                    "organic": {
                                        "pos_1": 2,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 4,
                                        "pos_21_30": 5,
                                        "pos_31_40": 5,
                                        "pos_41_50": 11,
                                        "pos_51_60": 5,
                                        "pos_61_70": 3,
                                        "pos_71_80": 2,
                                        "pos_81_90": 6,
                                        "pos_91_100": 4,
                                        "etv": 6.312458390981554,
                                        "impressions_etv": 0,
                                        "count": 45,
                                        "estimated_paid_traffic_cost": 2.4893027277572437,
                                        "is_new": 15,
                                        "is_up": 11,
                                        "is_down": 1,
                                        "is_lost": 19
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0,
                                        "is_new": 0,
                                        "is_up": 0,
                                        "is_down": 0,
                                        "is_lost": 0
                                    },
                                    "featured_snippet": null,
                                    "local_pack": null
                                }
                            },
                            "metrics_difference": {
                                "organic": {
                                    "pos_1": 0,
                                    "pos_2_3": 1,
                                    "pos_4_10": 1,
                                    "pos_11_20": -3,
                                    "pos_21_30": -4,
                                    "pos_31_40": 0,
                                    "pos_41_50": -4,
                                    "pos_51_60": 2,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": -1,
                                    "etv": 960.46854136078,
                                    "impressions_etv": 0.21689999476075172,
                                    "count": -7,
                                    "estimated_paid_traffic_cost": 2104.03663279918,
                                    "is_new": -5,
                                    "is_up": -4,
                                    "is_down": 15,
                                    "is_lost": -2
                                },
                                "paid": {
                                    "pos_1": 0,
                                    "pos_2_3": 0,
                                    "pos_4_10": 0,
                                    "pos_11_20": 0,
                                    "pos_21_30": 0,
                                    "pos_31_40": 0,
                                    "pos_41_50": 0,
                                    "pos_51_60": 0,
                                    "pos_61_70": 0,
                                    "pos_71_80": 0,
                                    "pos_81_90": 0,
                                    "pos_91_100": 0,
                                    "etv": 0,
                                    "impressions_etv": 0,
                                    "count": 0,
                                    "estimated_paid_traffic_cost": 0,
                                    "is_new": 0,
                                    "is_up": 0,
                                    "is_down": 0,
                                    "is_lost": 0
                                },
                                "featured_snippet": null,
                                "local_pack": null
                            }
                        }
                    ]
                }
            ]
        }
    ]
}

All POST data should be sent in the JSON format (UTF-8 encoding). The task setting is done using the POST method. When setting a task, you should send all task parameters in the task array of the generic POST array. You can send up to 2000 API calls per minute.

You can specify the number of results you want to retrieve and sort them.

Below you will find a detailed description of the fields you can use for setting a task.

Description of the fields for setting a task:

Field name Type Description
category_codes array product and service categories
required field
The maximum number of categories you can specify: 5
you can download the full list of possible categories
first_date string first date of comparison period
required field
first date for which domain metrics will be provided;
date format: "yyyy-mm-dd";
example: "2021-06-01";
Note: first_date cannot be greater than today’s date;
Also note: the dates specified in first_date and second_date cannot point to the same month of the same year;
you can specify the dates in any order: first_date can be greater than second_date and vice versa;
minimum date: "2020-10-01"
second_date string second date of comparison period
required field
second date for which domain metrics will be provided;
date format: "yyyy-mm-dd";
example: "2021-10-01";
Note: second_date cannot be greater than today’s date;
Also note: the dates specified in first_date and second_date cannot point to the same month of the same year;
you can specify the dates in any order: second_date can be greater than first_date and vice versa;
minimum date: "2020-10-01"
location_name string full name of the location
optional field if you specify location_code
Note: it is required to specify either location_name or location_code;
you can receive the list of available locations with their location_name by making a separate request to
https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages;
example:
United Kingdom
location_code integer unique location identifier
optional field if you specify location_name
Note: it is required to specify either location_name or location_code;
you can receive the list of available locations with their location_code by making a separate request to
https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages;
example:
2840
language_name string full name of the language
optional field if you specify language_code
Note: it is required to specify either language_name or language_code;
you can receive the list of available languages with their language_name by making a separate request to
https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages;
example:
English
language_code string unique language identifier
optional field if you specify language_name
Note: it is required to specify either language_name or language_code;
you can receive the list of available languages with their language_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages;
example:
en
item_types array display results by item type
optional field
indicates the type of search results included in the response;

Note: if the item_types array contains item types that are different from the organic object, the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response;

possible values:
["organic", "paid", "featured_snippet", "local_pack"];
default value:
["organic", "paid"]

top_categories_count integer number of additional domain categories
optional field
by using this parameter, you can receive domains relevant to additional categories that are not specified in category_codes above;
to learn more about the parameter, please refer to this help center article;
by default, top_categories_count is equal to the number of categories specified in the category_codes array;
Note: top_categories_count cannot be less than the number of categories in the category_codes array;
maximum value: 5
incude_subdomains boolean return subdomains in the API response
optional field
if false, the API response will contain main_domain only;
if true, the API will return main_domain plus its subdomains (if available);
default value: true
etv_min integer minimum current organic ETV of the domain
optional field
if specified, the API will return only domains with organic_etv greater than the specified value
etv_max integer maximum current organic ETV of the domain
optional field
if specified, the API will return only domains with organic_etv lesser than the specified value
correlate boolean correlate data with previously obtained datasets
optional field
default value: true;
if you use this parameter, our system will correlate data you obtain now with previously obtained datasets;
this parameter is intended to mitigate any inconsistencies that may result from changes to our database;
Note: we do not recommend setting correlate to false
limit integer the maximum number of domains in the results array
optional field
default value: 100;
maximum value: 1000
offset integer offset in the results array of returned domains
optional field
default value: 0;
if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive domains
filters array array of results filtering parameters
optional field
you can add several filters at once (8 filters maximum);
you should set a logical operator and, or between the conditions
the following operators are supported:
<, <=, >, >=, =, <>, in, not_in, like, not_like;
you can use the % operator with like and not_like to match any string of zero or more characters;
example:
["metrics_history.202110.organic.pos_1", ">", 15];
for more information about filters, please refer to Dataforseo Labs – Filters or this help center guide
order_by array results sorting rules
optional field
you can use the same values as in the filters array to sort the results;
default rule: ["organic_etv,desc"];
possible sorting types:
asc – results will be sorted in ascending order
desc – results will be sorted in descending order;
you should use a comma to set up a sorting type;
example:
["organic_count,desc"];
note that you can set no more than three sorting rules in a single request;
you should use a comma to separate several sorting rules;
example:
["organic_etv,desc","organic_count,asc"]
tag string user-defined task identifier
optional field
the character limit is 255;
you can use this parameter to identify the task and match it with the result;
you will find the specified tag value in the data object of the response

As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here;
Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasks array
tasks_error integer the number of tasks in the tasks array returned with an error
tasks array array of tasks
        id string task identifier
unique task identifier in our system in the UUID format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000;
you can find the full list of the response codes here
        status_message string informational message of the task
you can find the full list of general informational messages here
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data object contains the same parameters that you specified in the POST request
        result array array of results
            categories array categories in a POST array
            location_code integer location code in a POST array
            language_code string language code in a POST array
            total_count integer total amount of results in our database relevant to your request
            items_count integer the number of results returned in the items array
            items array contains historical ranking and traffic data
                top_categories array categories for which domains are collected
                organic_etv float current organic ETV of the domain
                organic_count integer current total count of organic SERPs that contain the domain
                organic_is_lost integer current number of lost ranked elements
indicates how many ranked elements of the domain were previously presented in SERPs, but weren’t found during the last check
                organic_is_new integer current number of new ranked elements
indicates how many new ranked elements were found for the domain
                domain string domain found for the specified category
                main_domain string primary domain
                metrics_history object historical ranking and traffic data of the domain
                    $date_1 object month and year for which domain metrics are provided
displays first_date or second_date of comparison period, whichever is greater;
example: 202110
                        organic object historical ranking and traffic data from organic search as of the month and year of the specified date
                            pos_1 integer number of organic SERPs where the domain ranked #1
                            pos_2_3 integer number of organic SERPs where the domain ranked #2-3
                            pos_4_10 integer number of organic SERPs where the domain ranked #4-10
                            pos_11_20 integer number of organic SERPs where the domain ranked #11-20
                            pos_21_30 integer number of organic SERPs where the domain ranked #21-30
                            pos_31_40 integer number of organic SERPs where the domain ranked #31-40
                            pos_41_50 integer number of organic SERPs where the domain ranked #41-50
                            pos_51_60 integer number of organic SERPs where the domain ranked #51-60
                            pos_61_70 integer number of organic SERPs where the domain ranked #61-70
                            pos_71_80 integer number of organic SERPs where the domain ranked #71-80
                            pos_81_90 integer number of organic SERPs where the domain ranked #81-90
                            pos_91_100 integer number of organic SERPs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated organic monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of organic SERPs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for all keywords that a domain ranked for as of the specified date;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        paid object historical ranking and traffic data from paid search as of the month and year of the specified date
                            pos_1 integer number of paid SERPs where the domain ranked #1
                            pos_2_3 integer number of paid SERPs where the domain ranked #2-3
                            pos_4_10 integer number of paid SERPs where the domain ranked #4-10
                            pos_11_20 integer number of paid SERPs where the domain ranked #11-20
                            pos_21_30 integer number of paid SERPs where the domain ranked #21-30
                            pos_31_40 integer number of paid SERPs where the domain ranked #31-40
                            pos_41_50 integer number of paid SERPs where the domain ranked #41-50
                            pos_51_60 integer number of paid SERPs where the domain ranked #51-60
                            pos_61_70 integer number of paid SERPs where the domain ranked #61-70
                            pos_71_80 integer number of paid SERPs where the domain ranked #71-80
                            pos_81_90 integer number of paid SERPs where the domain ranked #81-90
                            pos_91_100 integer number of paid SERPs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated paid monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated paid monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of paid SERPs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        featured_snippet object historical ranking and traffic data from featured snippets as of the month and year of the specified date
                            pos_1 integer number of featured snippets where the domain ranked #1
                            pos_2_3 integer number of featured snippets where the domain ranked #2-3
                            pos_4_10 integer number of featured snippets where the domain ranked #4-10
                            pos_11_20 integer number of featured snippets where the domain ranked #11-20
                            pos_21_30 integer number of featured snippets where the domain ranked #21-30
                            pos_31_40 integer number of featured snippets where the domain ranked #31-40
                            pos_41_50 integer number of featured snippets where the domain ranked #41-50
                            pos_51_60 integer number of featured snippets where the domain ranked #51-60
                            pos_61_70 integer number of featured snippets where the domain ranked #61-70
                            pos_71_80 integer number of featured snippets where the domain ranked #71-80
                            pos_81_90 integer number of featured snippets where the domain ranked #81-90
                            pos_91_100 integer number of featured snippets where the domain ranked #91-100
                            etv float estimated traffic volume
estimated monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of featured snippets that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        local_pack object historical ranking and traffic data from local packs as of the month and year of the specified date
                            pos_1 integer number of local packs where the domain ranked #1
                            pos_2_3 integer number of local packs where the domain ranked #2-3
                            pos_4_10 integer number of local packs where the domain ranked #4-10
                            pos_11_20 integer number of local packs where the domain ranked #11-20
                            pos_21_30 integer number of local packs where the domain ranked #21-30
                            pos_31_40 integer number of local packs where the domain ranked #31-40
                            pos_41_50 integer number of local packs where the domain ranked #41-50
                            pos_51_60 integer number of local packs where the domain ranked #51-60
                            pos_61_70 integer number of local packs where the domain ranked #61-70
                            pos_71_80 integer number of local packs where the domain ranked #71-80
                            pos_81_90 integer number of local packs where the domain ranked #81-90
                            pos_91_100 integer number of local packs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated monthly traffic to the domain
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of local packs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                    $date_2 object month and year for which domain metrics are provided
displays first_date or second_date of comparison period, whichever is smaller;
example: 202106
                        organic object historical ranking and traffic data from organic search as of the month and year of the specified date
                            pos_1 integer number of organic SERPs where the domain ranked #1
                            pos_2_3 integer number of organic SERPs where the domain ranked #2-3
                            pos_4_10 integer number of organic SERPs where the domain ranked #4-10
                            pos_11_20 integer number of organic SERPs where the domain ranked #11-20
                            pos_21_30 integer number of organic SERPs where the domain ranked #21-30
                            pos_31_40 integer number of organic SERPs where the domain ranked #31-40
                            pos_41_50 integer number of organic SERPs where the domain ranked #41-50
                            pos_51_60 integer number of organic SERPs where the domain ranked #51-60
                            pos_61_70 integer number of organic SERPs where the domain ranked #61-70
                            pos_71_80 integer number of organic SERPs where the domain ranked #71-80
                            pos_81_90 integer number of organic SERPs where the domain ranked #81-90
                            pos_91_100 integer number of organic SERPs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated organic monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated organic monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of organic SERPs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for all keywords that a domain ranked for as of the specified date;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        paid object historical ranking and traffic data from paid search as of the month and year of the specified date
                            pos_1 integer number of paid SERPs where the domain ranked #1
                            pos_2_3 integer number of paid SERPs where the domain ranked #2-3
                            pos_4_10 integer number of paid SERPs where the domain ranked #4-10
                            pos_11_20 integer number of paid SERPs where the domain ranked #11-20
                            pos_21_30 integer number of paid SERPs where the domain ranked #21-30
                            pos_31_40 integer number of paid SERPs where the domain ranked #31-40
                            pos_41_50 integer number of paid SERPs where the domain ranked #41-50
                            pos_51_60 integer number of paid SERPs where the domain ranked #51-60
                            pos_61_70 integer number of paid SERPs where the domain ranked #61-70
                            pos_71_80 integer number of paid SERPs where the domain ranked #71-80
                            pos_81_90 integer number of paid SERPs where the domain ranked #81-90
                            pos_91_100 integer number of paid SERPs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated paid monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated paid monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of paid SERPs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        featured_snippet object historical ranking and traffic data from featured snippets as of the month and year of the specified date
                            pos_1 integer number of featured snippets where the domain ranked #1
                            pos_2_3 integer number of featured snippets where the domain ranked #2-3
                            pos_4_10 integer number of featured snippets where the domain ranked #4-10
                            pos_11_20 integer number of featured snippets where the domain ranked #11-20
                            pos_21_30 integer number of featured snippets where the domain ranked #21-30
                            pos_31_40 integer number of featured snippets where the domain ranked #31-40
                            pos_41_50 integer number of featured snippets where the domain ranked #41-50
                            pos_51_60 integer number of featured snippets where the domain ranked #51-60
                            pos_61_70 integer number of featured snippets where the domain ranked #61-70
                            pos_71_80 integer number of featured snippets where the domain ranked #71-80
                            pos_81_90 integer number of featured snippets where the domain ranked #81-90
                            pos_91_100 integer number of featured snippets where the domain ranked #91-100
                            etv float estimated traffic volume
estimated monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated monthly traffic to the domain
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of featured snippets that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                        local_pack object historical ranking and traffic data from local packs as of the month and year of the specified date
                            pos_1 integer number of local packs where the domain ranked #1
                            pos_2_3 integer number of local packs where the domain ranked #2-3
                            pos_4_10 integer number of local packs where the domain ranked #4-10
                            pos_11_20 integer number of local packs where the domain ranked #11-20
                            pos_21_30 integer number of local packs where the domain ranked #21-30
                            pos_31_40 integer number of local packs where the domain ranked #31-40
                            pos_41_50 integer number of local packs where the domain ranked #41-50
                            pos_51_60 integer number of local packs where the domain ranked #51-60
                            pos_61_70 integer number of local packs where the domain ranked #61-70
                            pos_71_80 integer number of local packs where the domain ranked #71-80
                            pos_81_90 integer number of local packs where the domain ranked #81-90
                            pos_91_100 integer number of local packs where the domain ranked #91-100
                            etv float estimated traffic volume
estimated monthly traffic to the domain as of the specified date;
calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            impressions_etv float estimated traffic volume based on impressions
estimated monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and impressions values of all keywords the domain ranked for as of the specified date;
learn more about how the metric is calculated in this help center article
                            count integer total count of local packs that contained the domain
                            estimated_paid_traffic_cost float estimated cost of monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
learn more about how the metric is calculated in this help center article
                            is_new integer number of new ranked elements
indicates how many new ranked elements were found for the domain as of the specified date
                            is_up integer rank went up
indicates how many ranked elements of the domain went up as of the specified date
                            is_down integer rank went down
indicates how many ranked elements of the domain went down as of the specified date
                            is_lost integer lost ranked elements
indicates how many ranked elements of the domain were present in SERP before the specified date, but weren’t found as of the specified date
                metrics_difference object metrics difference between first_date and second_date
calculated by subtracting domain metrics as of the greater date from domain metrics as of the smaller date
                    organic object difference in ranking and traffic data from organic search between two dates
                        pos_1 integer number of organic SERPs where the domain ranks #1
indicates how the number of organic SERPs where the domain ranks #1 has changed over the specified time frame
                        pos_2_3 integer number of organic SERPs where the domain ranks #2-3
indicates how the number of organic SERPs where the domain ranks #2-3 has changed over the specified time frame
                        pos_4_10 integer number of organic SERPs where the domain ranks #4-10
indicates how the number of organic SERPs where the domain ranks #4-10 has changed over the specified time frame
                        pos_11_20 integer number of organic SERPs where the domain ranks #11-20
indicates how the number of organic SERPs where the domain ranks #11-20 has changed over the specified time frame
                        pos_21_30 integer number of organic SERPs where the domain ranks #21-30
indicates how the number of organic SERPs where the domain ranks #21-30 has changed over the specified time frame
                        pos_31_40 integer number of organic SERPs where the domain ranks #31-40
indicates how the number of organic SERPs where the domain ranks #31-40 has changed over the specified time frame
                        pos_41_50 integer number of organic SERPs where the domain ranks #41-50
indicates how the number of organic SERPs where the domain ranks #41-50 has changed over the specified time frame
                        pos_51_60 integer number of organic SERPs where the domain ranks #51-60
ndicates how the number of organic SERPs where the domain ranks #51-60 has changed over the specified time frame
                        pos_61_70 integer number of organic SERPs where the domain ranks #61-70
indicates how the number of organic SERPs where the domain ranks #61-70 has changed over the specified time frame
                        pos_71_80 integer number of organic SERPs where the domain ranks #71-80
indicates how the number of organic SERPs where the domain ranks #71-80 has changed over the specified time frame
                        pos_81_90 integer number of organic SERPs where the domain ranks #81-90
indicates how the number of organic SERPs where the domain ranks #81-90 has changed over the specified time frame
                        pos_91_100 integer number of organic SERPs where the domain ranks #91-100
indicates how the number of organic SERPs where the domain ranks #91-100 has changed over the specified time frame
                        etv float estimated traffic volume
indicates how the estimated organic monthly traffic to the domain has changed over the specified time frame
                        impressions_etv float estimated traffic volume based on impressions
indicates how the estimated organic monthly traffic to the domain has changed over the specified time frame
                        count integer indicates how the total count of organic SERPs that contains the domain has changed over the specified time frame
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for all keywords that a domain ranked for as of the specified time frame;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                        is_new integer number of new ranked elements
indicates how the number of new ranked elements has changed over the specified time frame
                        is_up integer rank went up
indicates how the number of ranked elements that went up has changed over the specified time frame
                        is_down integer rank went down
indicates how the number of ranked elements that went down has changed over the specified time frame
                        is_lost integer lost ranked elements
indicates how the number of lost ranked elements has changed over the specified time frame
                    paid object difference in ranking and traffic data from paid search between two dates
                        pos_1 integer number of paid SERPs where the domain ranks #1
indicates how the number of paid SERPs where the domain ranks #1 has changed over the specified time frame
                        pos_2_3 integer number of paid SERPs where the domain ranks #2-3
indicates how the number of paid SERPs where the domain ranks #2-3 has changed over the specified time frame
                        pos_4_10 integer number of paid SERPs where the domain ranks #4-10
indicates how the number of paid SERPs where the domain ranks #4-10 has changed over the specified time frame
                        pos_11_20 integer number of paid SERPs where the domain ranks #11-20
indicates how the number of paid SERPs where the domain ranks #11-20 has changed over the specified time frame
                        pos_21_30 integer number of paid SERPs where the domain ranks #21-30
indicates how the number of paid SERPs where the domain ranks #21-30 has changed over the specified time frame
                        pos_31_40 integer number of paid SERPs where the domain ranks #31-40
indicates how the number of paid SERPs where the domain ranks #31-40 has changed over the specified time frame
                        pos_41_50 integer number of paid SERPs where the domain ranks #41-50
indicates how the number of paid SERPs where the domain ranks #41-50 has changed over the specified time frame
                        pos_51_60 integer number of paid SERPs where the domain ranks #51-60
ndicates how the number of paid SERPs where the domain ranks #51-60 has changed over the specified time frame
                        pos_61_70 integer number of paid SERPs where the domain ranks #61-70
indicates how the paid of paid SERPs where the domain ranks #61-70 has changed over the specified time frame
                        pos_71_80 integer number of paid SERPs where the domain ranks #71-80
indicates how the paid of paid SERPs where the domain ranks #71-80 has changed over the specified time frame
                        pos_81_90 integer number of paid SERPs where the domain ranks #81-90
indicates how the number of paid SERPs where the domain ranks #81-90 has changed over the specified time frame
                        pos_91_100 integer number of paid SERPs where the domain ranks #91-100
indicates how the number of paid SERPs where the domain ranks #91-100 has changed over the specified time frame
                        etv float estimated traffic volume
indicates how the estimated paid monthly traffic to the domain has changed over the specified time frame
                        impressions_etv float estimated traffic volume based on impressions
indicates how the estimated paid monthly traffic to the domain has changed over the specified time frame
                        count integer indicates how the total count of paid SERPs that contains the domain has changed over the specified time frame
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                        is_new integer number of new ranked elements
indicates how the number of new ranked elements has changed over the specified time frame
                        is_up integer rank went up
indicates how the number of ranked elements that went up has changed over the specified time frame
                        is_down integer rank went down
indicates how the number of ranked elements that went down has changed over the specified time frame
                        is_lost integer lost ranked elements
indicates how the number of lost ranked elements has changed over the specified time frame
                    featured_snippet object difference in ranking and traffic data from featured snippets between two dates
                        pos_1 integer number of featured snippets where the domain ranks #1
indicates how the number of featured snippets where the domain ranks #1 has changed over the specified time frame
                        pos_2_3 integer number of featured snippets where the domain ranks #2-3
indicates how the number of featured snippets where the domain ranks #2-3 has changed over the specified time frame
                        pos_4_10 integer number of featured snippets where the domain ranks #4-10
indicates how the number of featured snippets where the domain ranks #4-10 has changed over the specified time frame
                        pos_11_20 integer number of featured snippets where the domain ranks #11-20
indicates how the number of featured snippets where the domain ranks #11-20 has changed over the specified time frame
                        pos_21_30 integer number of featured snippets where the domain ranks #21-30
indicates how the number of featured snippets where the domain ranks #21-30 has changed over the specified time frame
                        pos_31_40 integer number of featured snippets where the domain ranks #31-40
indicates how the number of featured snippets where the domain ranks #31-40 has changed over the specified time frame
                        pos_41_50 integer number of featured snippets where the domain ranks #41-50
indicates how the number of featured snippets where the domain ranks #41-50 has changed over the specified time frame
                        pos_51_60 integer number of featured snippets where the domain ranks #51-60
ndicates how the number of featured snippets where the domain ranks #51-60 has changed over the specified time frame
                        pos_61_70 integer number of featured snippets where the domain ranks #61-70
indicates how the paid of featured snippets where the domain ranks #61-70 has changed over the specified time frame
                        pos_71_80 integer number of featured snippets where the domain ranks #71-80
indicates how the paid of featured snippets where the domain ranks #71-80 has changed over the specified time frame
                        pos_81_90 integer number of featured snippets where the domain ranks #81-90
indicates how the number of featured snippets where the domain ranks #81-90 has changed over the specified time frame
                        pos_91_100 integer number of featured snippets where the domain ranks #91-100
indicates how the number of featured snippets where the domain ranks #91-100 has changed over the specified time frame
                        etv float estimated traffic volume
indicates how the estimated monthly traffic to the domain has changed over the specified time frame
                        impressions_etv float estimated traffic volume based on impressions
indicates how the estimated monthly traffic to the domain has changed over the specified time frame
                        count integer indicates how the total count of featured snippets that contains the domain has changed over the specified time frame
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                        is_new integer number of new ranked elements
indicates how the number of new ranked elements has changed over the specified time frame
                        is_up integer rank went up
indicates how the number of ranked elements that went up has changed over the specified time frame
                        is_down integer rank went down
indicates how the number of ranked elements that went down has changed over the specified time frame
                        is_lost integer lost ranked elements
indicates how the number of lost ranked elements has changed over the specified time frame
                    local_pack object difference in ranking and traffic data from local packs between two dates
                        pos_1 integer number of local packs where the domain ranks #1
indicates how the number of local packs where the domain ranks #1 has changed over the specified time frame
                        pos_2_3 integer number of local packs where the domain ranks #2-3
indicates how the number of local packs where the domain ranks #2-3 has changed over the specified time frame
                        pos_4_10 integer number of local packs where the domain ranks #4-10
indicates how the number of local packs where the domain ranks #4-10 has changed over the specified time frame
                        pos_11_20 integer number of local packs where the domain ranks #11-20
indicates how the number of local packs where the domain ranks #11-20 has changed over the specified time frame
                        pos_21_30 integer number of local packs where the domain ranks #21-30
indicates how the number of local packs where the domain ranks #21-30 has changed over the specified time frame
                        pos_31_40 integer number of local packs where the domain ranks #31-40
indicates how the number of local packs where the domain ranks #31-40 has changed over the specified time frame
                        pos_41_50 integer number of local packs where the domain ranks #41-50
indicates how the number of local packs where the domain ranks #41-50 has changed over the specified time frame
                        pos_51_60 integer number of local packs where the domain ranks #51-60
ndicates how the number of local packs where the domain ranks #51-60 has changed over the specified time frame
                        pos_61_70 integer number of local packs where the domain ranks #61-70
indicates how the paid of local packs where the domain ranks #61-70 has changed over the specified time frame
                        pos_71_80 integer number of local packs where the domain ranks #71-80
indicates how the paid of local packs where the domain ranks #71-80 has changed over the specified time frame
                        pos_81_90 integer number of local packs where the domain ranks #81-90
indicates how the number of local packs where the domain ranks #81-90 has changed over the specified time frame
                        pos_91_100 integer number of local packs where the domain ranks #91-100
indicates how the number of local packs where the domain ranks #91-100 has changed over the specified time frame
                        etv float estimated traffic volume
indicates how the estimated monthly traffic to the domain has changed over the specified time frame
                        impressions_etv float estimated traffic volume based on impressions
indicates how the estimated monthly traffic to the domain has changed over the specified time frame
                        count integer indicates how the total count of local packs that contains the domain has changed over the specified time frame
                        estimated_paid_traffic_cost float estimated cost of converting organic search traffic into paid
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
                        is_new integer number of new ranked elements
indicates how the number of new ranked elements has changed over the specified time frame
                        is_up integer rank went up
indicates how the number of ranked elements that went up has changed over the specified time frame
                        is_down integer rank went down
indicates how the number of ranked elements that went down has changed over the specified time frame
                        is_lost integer lost ranked elements
indicates how the number of lost ranked elements has changed over the specified time frame

‌‌